package com.intretech.tj.gpp.mapper

import com.baomidou.mybatisplus.core.mapper.BaseMapper
import com.intretech.tj.gpp.entity.DO.Edge
import org.apache.ibatis.annotations.Mapper
import org.apache.ibatis.annotations.Select

@Mapper
interface EdgeMapper : BaseMapper<Edge> {

    @Select(
        """
        SELECT
          id,
          rfid_node_start,
          rfid_node_end,
          weight,
          nav_favors,
          edge_long,
          max_speed,
          max_car,
          parking_road
        FROM edge
        """
    )
    fun selectAll(): List<Edge>
}